package ar.com.personalTravellers.daos.impl;

import ar.com.personalTravellers.beans.internationalizer.LanguageInternationalizer;
import ar.com.personalTravellers.daos.LanguageInternationalizerDAO;
import com.angel.arquitectura.model.internationalization.Language;
import com.angel.arquitectura.model.objectId.ObjectId;
import com.angel.dao.generic.impl.GenericSpringHibernateDAO;

/**
 *
 * @author William
 */
public class LanguageInternationalizerSpringHibernateDAO extends GenericSpringHibernateDAO<LanguageInternationalizer, ObjectId> implements LanguageInternationalizerDAO {

    public LanguageInternationalizerSpringHibernateDAO() {
        super(LanguageInternationalizer.class, ObjectId.class);
    }

    public LanguageInternationalizer findUniqueByLanguage(Language language) {
        return super.findUnique("language", language);
    }
}